/*
 * Action.java July 2009
 *
 * Copyright (C) 2009, Quirino Zagarese <quirino@laszloitalia.org>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General
 * Public License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 * Boston, MA  02111-1307  USA
 */
package org.eu4ria.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * An interface to deploy a business method as a EU4RIA invokable action.
 * You can use this to annotate public methods in order to let your RIA invoke it.
 *
 * Ex.
 * <br>
 * <pre>private int counter = 1;
 *
 * [at]Action
 * public int count(){
 * 	return ++counter;
 * }
 * </pre>
 *
 * Will return &lt;int&gt;2&lt;/int&gt;
 *
 * @see org.eu4ria.annotations.Module
 *
 * @author Quirino Zagarese
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Action {


}
